package main

import (
    "fmt"
    "io/ioutil"
    "net/http"
)


func goGet(){
    client := &http.Client{}
    req,_ := http.NewRequest("GET","http://httpbin.org/get",nil)
    req.Header.Add("name","zhaofan")
    req.Header.Add("age","3")
    resp,_ := client.Do(req)
    body, _ := ioutil.ReadAll(resp.Body)
    fmt.Printf(string(body))
}

func main() {
	goGet()

	for i := 0; i < 10; i++{
		go goGet()
		
	}
	
}